package com.wzy.exportexcel.excelTask.mapper;

import com.wzy.exportexcel.excelTask.domain.ExcelTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author zhangyuWu
* @description 针对表【excel_task(报表任务表)】的数据库操作Mapper
* @createDate 2024-10-01 19:44:17
* @Entity entity.domain.ExcelTask
*/
@Mapper
public interface ExcelTaskMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ExcelTask record);

    int insertSelective(ExcelTask record);

    ExcelTask selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ExcelTask record);

    int updateByPrimaryKey(ExcelTask record);

    int updateStatusById(@Param("taskId")Long taskId,  @Param("status") Integer status);

}
